import request from '@/utils/request'

export const getArticlesAPI = (data) => {
  return request.get('/interview/query', {
    current: data.current,
    pageSize: 10,
    sorter: data.sorter
  })
}

export const getArticleDetailAPI = (id) => {
  return request.get('interview/show', {
    params: {
      id
    }
  })
}
